package com.zxc.item.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Table(name = "tb_brand")
public class TbBrand implements Serializable {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;//品牌的id
    private String name;//品牌名称
    private String image;//品牌对应的图片
    private char letter;//品牌队友的首字母
}
